<?php

use Biz\service\trade\Order as OrderService;

class StatusCountAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $data = [];
        $data['orderCounter'] = OrderService::getStatusCount($this->uid);
        $this->setSuccess($data);
    }
}
